/**
 * 组件内的数据状态
 * */
import { defineStore } from "pinia";

export const webxGlobalStore = defineStore("webxGlobal", {
  state:  () => ({
    // 全局前缀
    prefix: "webx"
  }),
  actions:{
    // 设置全局前缀
    setPrefix(prefix:string){
      this.prefix = prefix;
    }
  }
})